package com.chinatsp.onlineapp.bean;

import java.util.List;

/**
 * 天气信息
 */

public class WeatherService {


    /**
     * city_name : 北京市
     * forecast_conditions : [{"wind_direction":"无持续风向","high_temperature":"21℃","weather_type":"0001","weather_condition":"晴转多云","phenomenon_type":"0102","weather_date":"2016-10-19","weather_week":"星期二","low_temperature":"11℃","wind_force":"微风"},{"wind_direction":"无持续风向","high_temperature":"23℃","weather_type":"02","weather_condition":"霾转阴","phenomenon_type":"1903","weather_date":"2016-10-20","weather_week":"星期三","low_temperature":"13℃","wind_force":"微风"},{"wind_direction":"无持续风向","high_temperature":"17℃","weather_type":"02","weather_condition":"阴","phenomenon_type":"03","weather_date":"2016-10-21","weather_week":"星期四","low_temperature":"13℃","wind_force":"微风"},{"wind_direction":"无持续风向","high_temperature":"16℃","weather_type":"0201","weather_condition":"阴转多云","phenomenon_type":"0302","weather_date":"2016-10-22","weather_week":"星期五","low_temperature":"11℃","wind_force":"微风"},{"wind_direction":"北风","high_temperature":"17℃","weather_type":"0100","weather_condition":"多云转晴","phenomenon_type":"0201","weather_date":"2016-10-23","weather_week":"星期六","low_temperature":"8℃","wind_force":"3-4级"},{"wind_direction":"无持续风向","high_temperature":"14℃","weather_type":"00","weather_condition":"晴","phenomenon_type":"01","weather_date":"2016-10-24","weather_week":"星期日","low_temperature":"6℃","wind_force":"微风"}]
     * current_conditions : {"wind_direction":"无持续风向","cold_index":"少发，无明显降温，感冒机率较低。","high_temperature":"21℃","weather_type":"0001","dress_index":"较舒适，建议穿薄外套或牛仔裤等服装。","wind_force":"微风","ultravioletray_index":"中等，涂擦SPF大于15、PA+防晒护肤品。","traffic_index":"","airpollution_index":"中，易感人群应适当减少室外活动。","humidity":"87%","current_temperature":"13℃","weather_condition":"晴转多云","phenomenon_type":"0102","low_temperature":"9℃","weather_date":"2016-10-18","washcar_index":"较适宜，无雨且风力较小，易保持清洁度。"}
     * release_time : 2016/10/18 06:55:50
     */

    private RespDataBean resp_data;

    public RespDataBean getResp_data() {
        return resp_data;
    }

    public void setResp_data(RespDataBean resp_data) {
        this.resp_data = resp_data;
    }

    public static class RespDataBean {
        private String city_name;
        /**
         * wind_direction : 无持续风向
         * cold_index : 少发，无明显降温，感冒机率较低。
         * high_temperature : 21℃
         * weather_type : 0001
         * dress_index : 较舒适，建议穿薄外套或牛仔裤等服装。
         * wind_force : 微风
         * ultravioletray_index : 中等，涂擦SPF大于15、PA+防晒护肤品。
         * traffic_index :
         * airpollution_index : 中，易感人群应适当减少室外活动。
         * humidity : 87%
         * current_temperature : 13℃
         * weather_condition : 晴转多云
         * phenomenon_type : 0102
         * low_temperature : 9℃
         * weather_date : 2016-10-18
         * washcar_index : 较适宜，无雨且风力较小，易保持清洁度。
         */

        private CurrentConditionsBean current_conditions;
        private String release_time;
        /**
         * wind_direction : 无持续风向
         * high_temperature : 21℃
         * weather_type : 0001
         * weather_condition : 晴转多云
         * phenomenon_type : 0102
         * weather_date : 2016-10-19
         * weather_week : 星期二
         * low_temperature : 11℃
         * wind_force : 微风
         */

        private List<ForecastConditionsBean> forecast_conditions;

        public String getCity_name() {
            return city_name;
        }

        public void setCity_name(String city_name) {
            this.city_name = city_name;
        }

        public CurrentConditionsBean getCurrent_conditions() {
            return current_conditions;
        }

        public void setCurrent_conditions(CurrentConditionsBean current_conditions) {
            this.current_conditions = current_conditions;
        }

        public String getRelease_time() {
            return release_time;
        }

        public void setRelease_time(String release_time) {
            this.release_time = release_time;
        }

        public List<ForecastConditionsBean> getForecast_conditions() {
            return forecast_conditions;
        }

        public void setForecast_conditions(List<ForecastConditionsBean> forecast_conditions) {
            this.forecast_conditions = forecast_conditions;
        }

        public static class CurrentConditionsBean {
            private String wind_direction;
            private String cold_index;
            private String high_temperature;
            private String weather_type;
            private String dress_index;
            private String wind_force;
            private String ultravioletray_index;
            private String traffic_index;
            private String airpollution_index;
            private String humidity;
            private String current_temperature;
            private String weather_condition;
            private String phenomenon_type;
            private String low_temperature;
            private String weather_date;
            private String washcar_index;

            public String getWind_direction() {
                return wind_direction;
            }

            public void setWind_direction(String wind_direction) {
                this.wind_direction = wind_direction;
            }

            public String getCold_index() {
                return cold_index;
            }

            public void setCold_index(String cold_index) {
                this.cold_index = cold_index;
            }

            public String getHigh_temperature() {
                return high_temperature;
            }

            public void setHigh_temperature(String high_temperature) {
                this.high_temperature = high_temperature;
            }

            public String getWeather_type() {
                return weather_type;
            }

            public void setWeather_type(String weather_type) {
                this.weather_type = weather_type;
            }

            public String getDress_index() {
                return dress_index;
            }

            public void setDress_index(String dress_index) {
                this.dress_index = dress_index;
            }

            public String getWind_force() {
                return wind_force;
            }

            public void setWind_force(String wind_force) {
                this.wind_force = wind_force;
            }

            public String getUltravioletray_index() {
                return ultravioletray_index;
            }

            public void setUltravioletray_index(String ultravioletray_index) {
                this.ultravioletray_index = ultravioletray_index;
            }

            public String getTraffic_index() {
                return traffic_index;
            }

            public void setTraffic_index(String traffic_index) {
                this.traffic_index = traffic_index;
            }

            public String getAirpollution_index() {
                return airpollution_index;
            }

            public void setAirpollution_index(String airpollution_index) {
                this.airpollution_index = airpollution_index;
            }

            public String getHumidity() {
                return humidity;
            }

            public void setHumidity(String humidity) {
                this.humidity = humidity;
            }

            public String getCurrent_temperature() {
                return current_temperature;
            }

            public void setCurrent_temperature(String current_temperature) {
                this.current_temperature = current_temperature;
            }

            public String getWeather_condition() {
                return weather_condition;
            }

            public void setWeather_condition(String weather_condition) {
                this.weather_condition = weather_condition;
            }

            public String getPhenomenon_type() {
                return phenomenon_type;
            }

            public void setPhenomenon_type(String phenomenon_type) {
                this.phenomenon_type = phenomenon_type;
            }

            public String getLow_temperature() {
                return low_temperature;
            }

            public void setLow_temperature(String low_temperature) {
                this.low_temperature = low_temperature;
            }

            public String getWeather_date() {
                return weather_date;
            }

            public void setWeather_date(String weather_date) {
                this.weather_date = weather_date;
            }

            public String getWashcar_index() {
                return washcar_index;
            }

            public void setWashcar_index(String washcar_index) {
                this.washcar_index = washcar_index;
            }
        }

        public static class ForecastConditionsBean {
            private String wind_direction;
            private String high_temperature;
            private String weather_type;
            private String weather_condition;
            private String phenomenon_type;
            private String weather_date;
            private String weather_week;
            private String low_temperature;
            private String wind_force;

            public String getWind_direction() {
                return wind_direction;
            }

            public void setWind_direction(String wind_direction) {
                this.wind_direction = wind_direction;
            }

            public String getHigh_temperature() {
                return high_temperature;
            }

            public void setHigh_temperature(String high_temperature) {
                this.high_temperature = high_temperature;
            }

            public String getWeather_type() {
                return weather_type;
            }

            public void setWeather_type(String weather_type) {
                this.weather_type = weather_type;
            }

            public String getWeather_condition() {
                return weather_condition;
            }

            public void setWeather_condition(String weather_condition) {
                this.weather_condition = weather_condition;
            }

            public String getPhenomenon_type() {
                return phenomenon_type;
            }

            public void setPhenomenon_type(String phenomenon_type) {
                this.phenomenon_type = phenomenon_type;
            }

            public String getWeather_date() {
                return weather_date;
            }

            public void setWeather_date(String weather_date) {
                this.weather_date = weather_date;
            }

            public String getWeather_week() {
                return weather_week;
            }

            public void setWeather_week(String weather_week) {
                this.weather_week = weather_week;
            }

            public String getLow_temperature() {
                return low_temperature;
            }

            public void setLow_temperature(String low_temperature) {
                this.low_temperature = low_temperature;
            }

            public String getWind_force() {
                return wind_force;
            }

            public void setWind_force(String wind_force) {
                this.wind_force = wind_force;
            }
        }
    }
}
